<script>
export default {
  render() {
    return (
      <div>
        <h2>hello the world</h2>
        {this.$slots.default?this.$slots.default():<span>默认值</span>}
      </div>
    );
  },
};
</script>

<style lang="scss" scoped>
</style>